COMMANDS
FOR ACCESSING EEPROM
NO.
|
command
letter
|
index
|
meaning
|
#
of bytes
|
1.
|
R,W
|
01
|
Input
range or function |
1
|
2.
|
R,W
|
02
|
Input/output
Configuration |
1
|
3.
|
R,W
|
03
|
Decimal
point |
1
|
4.
|
R,W
|
04
|
Filter
time constant |
1
|
5.
|
R,W
|
05
|
Reading scale |
3
|
6.
|
R,W
|
06
|
Reading
offset |
3
|
7.
|
R,W
|
07
|
Communication
parameters |
1
|
8.
|
R,W
|
08
|
Communication
bus format |
1
|
9.
|
R,W
|
09
|
Communication
Data format |
1
|
10.
|
R,W
|
0A
|
Communication
device address |
1
|
11.
|
R,W
|
0B
|
Communication
recog. char. |
1
|
12.
|
R,W
|
0C
|
Unit
of measure |
3
|
13.
|
R,W
|
0D
|
Gate
time |
1
|
14.
|
R,W
|
0E
|
Debounce
time |
1
|
15.
|
R,W
|
0F
|
Transmit
time |
2
|
NOTE:
1. Data (Number of hex digits) = 2 * number of bytes
2.
command letter
|
meaning
|
R
|
Read
from EEPROM
|
W
|
Write
to EEPROM
|
3. "W" commands should be followed by "Z01" command for new
values to take effect.
A. COMMAND FORMAT (TRANSMITTING):
*[nn]Cxx[data][hh]<cr>
Note: Data is required if Command Letter is ôWö
B. RESPONSE FORMAT (RECEIVING):
A. Correct response:
1. If unit is in echo mode* (see "BUS FORMAT"):
*echo mode = unit will send back the command.
2. If unit is not in echo mode:
i. For the commands which require the data to be transmitted
by the DRX Signal Conditioner, data is sent in the following formats:
ii. For the commands which do not require the data:
B. Error response:
1. If unit is in echo mode: [nn]?ee<cr>
2. If unit is not in echo mode: ?ee<cr>
NOTE:
[
]
|
Means
will be used wherever applicable |
*
|
Is
the security recognition character(default is ô*ö) |
nn
|
Is the unit's address in hexadecimal(default is 01). Address may
be from 01 to FF. |
C
|
Is
the command letter (must be capital) |
W
|
For
writing to the EEPROM (requires data) |
R
|
For reading from the EEPROM (doesnÆt require data) |
xx
|
Command
index is a hexadecimal number from 01 to FF. |
data
|
Is
one, two, or three bytes (2,4,6 characters respectively). It will
be in hexadecimal except when command "X" is executed in which it
is in decimal. |
hh
|
Is checksum characters (Required if Checksum option is on.
See ôBUS FORMATö). |
?ee
|
Special
code indicating an error has occurred as..... |
?43
|
Command
error (occurs if command letters and indexes are invalid) |
?46
|
Format error (occurs if length of the data or number of characters
is not correct) |
?48
|
Checksum
error (occurs if checksum is not correct) |
?50
|
Parity
error (occurs if parity is not correct) |
<cr>
|
Carriage
return |
Note: If Baud rate, Recognition character or address are not correct
then the UNIT will not respond.
|